require('common/style/ng-animation.css');
let TransitionGroup  = React.addons.TransitionGroup


export default class Transition extends React.Component{
	constructor(){
		super();
		this.state = {};
	}
	static defaultProps = {
		name: 'toggle'
	}
	render(){
		return (
			<TransitionGroup transitionName="ng" className={this.props.name}>
					{this.props.children}
			</TransitionGroup>
			
		)
	}
}
